import React, {PureComponent} from 'react';
import {DLFlatList as FlatList} from '@ecool/react-native-ui';
import withEmptyView from "./withEmptyView";

class EmptyViews extends PureComponent {

    render() {
        // const data = this.props.mode === 'FlatList' ? this.props.data : this.props.sections;
        return (
            <FlatList
                {...this.props}
            />
        );
    }
}

//列表
const ListViewEmpty = withEmptyView(EmptyViews);
//其他视图待补充

export {
    ListViewEmpty
}
